package com.hjxy.dao;

import com.hjxy.pojo.Classroom;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

public interface ClassroomDao {
    List<Classroom> queryAll();
   /* Classroom queryById(Integer classroomId); //查询一个用户
    Classroom queryByUsername(String classroomname); //根据用户账号查询用户信息含角色信息
    int insertByUser(Classroom classroom);
    int deleteByUser(Classroom classroom);
    int updateByUser(Classroom classroom);
    int deleteById(Integer classroomId);
    int deleteByIds(@Param("classroomIds") Set<Integer> classroomIds); //逻辑删除一批用户
    //根据column和column值进行用户的条件查询
    Set<Classroom> queryByColumn(@Param("column") String column, @Param("columnValue") String columnValue);
    //根据用户姓名、电话、角色名进行模糊查询
    Set<Classroom> queryByMultiConditions(@Param("classroomId") String classroomId);*/
}
